/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.myyong.model;

import java.io.Serializable;
import java.util.Date;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 *
 * @author dell
 */
@Document(collection = "comments")
public class Comments implements Serializable{
    
    private String replyUser;
    
    private Date date;

    public Comments() {
    }

    public String getReplyUser() {
        return replyUser;
    }

    public void setReplyUser(String replyUser) {
        this.replyUser = replyUser;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Comments{" + "replyUser=" + replyUser + ", date=" + date + '}';
    }
    
    
}
